package com.jswlw.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@Data
@ConfigurationProperties(prefix = "okhttp")
public class OkhttpProperties {

    private Boolean enabled;
    private Boolean retryOnConnectionFailure = true;
    private Long connectTimeout = 5_000L;
    private Long readTimeout = 5_000L;
    private Long writeTimeout = 5_000L;
}
